package com.online.dao;

import com.online.entity.Exam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ExamMapper {

    int insertAExam(Exam exam);

    Integer selectExamId(@Param("teacherNumber") String teacherNumber, @Param("examName") String examName);

    int selectOptionsNumberByExamId(int examId);

    int selectBlankNumberByExamId(int examId);

    List<Exam> selectAllExam(String teacherNumber);

    int deleteAExamByExamId(int examId);

    Exam selectAExamByExamId(int examId);

}
